class Person(object):
    """defines a Person"""
    def __init__(self, id):
        self.id = id
        self.state = 0

    def __str__(self):
        return '{0}: {1}'.format(self.id, self.state)

    def __eq__(self, id):
        return self.id == id
